package org.thingsboard.server.dao.jpa;

import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;

@Data
@Entity
@Table(name = "T_ALARM")
public class TAlarm  implements Serializable {

	@Id
	@Column(name = "ALARM_ID")
	private String alarmId;

	@Column(name = "DEVICE_CODE")
	private String deviceCode;

	@Column(name = "ALARM_LEVEL")
	private String alarmLevel;

	@Column(name = "ALARM_VAL")
	private String alarmVal;

	@Column(name = "ALARM_DES")
	private String alarmDes;

	@Column(name = "ALARM_TIME")
	private java.util.Date alarmTime;

}
